<script setup lang="ts">
import { useStore } from './store/index';
const store = useStore();
function changename(): void {
  store.name = 'newName';
}
</script>

<template>
  <van-button type="primary" @click="changename">{{ store.name }}</van-button>
  <span> </span>
  <br />
  <br />
  <div class="text-pink-500">text windicss</div>
  <RouterView />
</template>

<style scoped></style>
